@extends('layouts.app')
@section('title','无权登录')

@section('content')
    <div class="offset-md-4 col-md-4">
        <div class="card">
            <div class="card-body">
                @if(Auth::check())
                    <div class="alert alert-danger text-center mt-3">
                        当前用户无后台管理权限
                    </div>
                @else
                    <div class="alert alert-warning text-center">
                        请登录后操作
                    </div>
                    <a href="{{route('login')}}" class="btn btn-primary w-100">
                        <i class="fa fa-sign-in-alt"></i>
                        登 录
                    </a>
                @endif
            </div>
        </div>
    </div>
@stop
